#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author:zbsilent

# _int_ = 2**65
# print(_int_)
# print(type(_int_))
"""
This is Class Type Info annotated

Annotated:
    int on python 3.x not have long 
    float 3.34 52.3E-4 = 52.3*10**4 
    complex  ref engineering
    boolean True/False
    bytes on python2.x is not different like str, on python3.x use bytes

"""
_str = "ancd"
print('--------转换成bytes--------')
print(_str.encode("utf-8"))
print('--------转换成bytes否获取类型--------')
print(type(_str.encode("utf-8")))
print('--------转换成Str--------')
_bytes_str = _str.encode("utf-8")
print(_bytes_str.decode("utf-8"))

a = 0
if a == 0:
    print(True)
else:
    print(False)

b = 1
c = 5

"""
三元操作符
    值1 if 条件 else 值2
    True 值1
    False 值2
十六进制
    前缀0x 表示16进制
    后缀H  表示16进制
    
"""
#
d = a if a < b else c
print(d)
